// api.js
import request from '@/utils/request.js';

//获取用户个人信息
export const getUserInfo = () => {
    return request({
        url: '/live/getUserInfo'
    });
};


export const givingGifts = (giftId) => {
    return request({
        url: `/live/givingGifts/${giftId}`,
		method: 'POST'
    });
};

export const giftRanking = () => {
    return request({
        url: '/live/giftRanking'
    });
};

